package com.yunmai.example.main

import android.app.Activity
import com.yunmai.example.BaseMVPActivity
import com.yunmai.example.R.layout
import com.yunmai.example.main.MainContract.View

/**
 *
 * @author tubage
 * @data 2022/1/24
 */
class MainActivity : BaseMVPActivity<MainPresenter>(), View {
  override fun getLayoutIds(): Int {
    return layout.activity_main
  }

  override fun createPresenter(): MainPresenter {
    return MainPresenter(this,this)
  }

  override fun getCurrActivity(): Activity {
    return this
  }
}